package ch.bfh.fbi.mobiComp2013.sensornet.earthquake;

import ch.bfh.fbi.mobiComp2013.sensornet.implementation.MessageType;

public class EarthQuakeBodyData extends EarthquakeBody {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private Short value;
    private String additionalMessage;

    public EarthQuakeBodyData(Short value, String additionalMessage) {
        super(MessageType.Data);
        this.additionalMessage = additionalMessage;
        this.value = value;
    }

    public Short getValue() {
        return value;
    }

    public void setValue(Short value) {
        this.value = value;
    }

    public String getAdditionalMessage() {
        return additionalMessage;
    }

    public void setAdditionalMessage(String additionalMessage) {
        this.additionalMessage = additionalMessage;
    }
    
    

}
